package com.md.Lession;

public class Demo7 {
	public static void main(String[] args) {
		for (int i = 1; i < 10; i++) {
			for (int j = 1; j <= i+1; j++) {
				if(j<=i) {
					System.out.print(i+"*"+j+"="+(i*j)+" ");
				}else if(j>i){
					System.out.println("");
				}
				
			}
		}
	}
}
